package com.ws.soa.consumer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component(value = "redisProperties")
@ConfigurationProperties(prefix = "spring.redis")
public class RedisProperties {


    private String host;

    private int port;

    private int database;

    private int maxIdle;

    private int minIdle;

    private int maxTotal;

    private int maxWait;

    private String password;

}